package com.sname.car.record.dao;

import com.sname.car.record.entity.Record;

import java.util.List;

public interface RecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Record record);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Record record);

    int updateByPrimaryKey(Record record);

    List<Record> selectRecord(Long userId, Long lastId);

    Record selectRecording(Long userId);

    Record selectBikeRecordOnGoing(Long bikeNumber);
}